﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
using System.Runtime.Serialization;
using System.Text;
using System.IO.IsolatedStorage;

namespace MultiTouch.Behaviors.Silverlight4.TouchPPT
{
    public class StringParser
    {
        public static List<string> ParseStringIntoList(string s)
        {
            StringReader sr = new StringReader(s);
            List<string> list = new List<string>();
            string str;
            do
            {
                str = sr.ReadLine();
                if (str != null)
                {
                    list.Add(str);
                }
            } while (str != null);
            return list;
        }
    }
}
